<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet"
	href="/resources/common/css/default/control-manage.css" />
<link rel="stylesheet"
	href="/resources/video/css/manage-extends.css" />
<title>广告统计</title>
<style type="text/css">
.searchButton{
	background:url(/resources/common/images/default/biz/buttonImage.gif) no-repeat;
	background-position:-100px -1px;
	color:#ffffff;
	font-weight:bold;
	line-height:24px; 
	text-align:center; 
	vertical-align:middle; 
	border:none; 
	width:83px;
	height:28px; 
}

table.editflexigrid td, table.editflexigrid th{
	height : 30px;
	border: 1px solid #000;
}
table.editflexigrid td{
	height : 30px;
	align: center;
	font-size: 15px;
	font-weight: normal;
}

</style>
</head>
<body>
	<div class="Mheader">
		<ul>
			<li>统计查询</li>
			<li class="M_sep">&gt;</li>
			<li>广告统计</li>
		</ul>
	</div>
	
	<div id="filterDiv" class="Mul widthauto margin-right20">
		<ul>
			<li>
				<span class="Mspan-span1">
				    <span class="left">
					 	资源版本: 
					</span>
					<span class="right" id="sourceVersionSpan">
							
					</span>
				</span>
				<span class="Mspan-span1">
					 <span class="left">
					 	<select id="idType" name="idType">
					 	<!--  
					 		<option value="0">全部</option>
					 	-->
					 		<option value="1">视频</option>
					 		<option value="2">视频合集</option>
					 	</select>
					 </span>
						<span class="right">
							ID：<input type="text" id="id" name="id"/>
						</span>
				</span>
				<span class="Mspan-span1">
					 <span class="left">名称：</span>
					 <span class="right">
						<input type="text" id="name" name="name"/>
					 </span>
				</span>
				<span class="Mspan-span1">
					 <span class="left">
					 	<input type="checkbox" name="onlyAd" id="onlyAd"/>
					 </span>
					 <span class="right">
					 	仅看有广告的
					 </span>
				</span>
				<span class="Mspan-span1">
					 <span class="left">
					 	来源：
					 </span>
						<span class="right" id="cpSourceSpan">
						</span>
				</span>
				<span class="Mspan-span1">
					 <span class="left">
					 	日期：从
					 </span>
					 <span class="right">
					 	<input type="text" id="startTime" name="startTime"/>
					 </span>
				</span>
				<span class="Mspan-span1">
					 <span class="left">
					 	到
					 </span>
					 <span class="right">
					 	<input type="text" id="endTime" name="endTime"/>
					 </span>
				</span>
				<span class="Mspan-span1">
					 <span class="left">
					 	<input id="btnSearch" class="Mbutton3" type="button" value="查询" />
					 </span>
				</span>
			</li>
			<li>
				<input type="button" id="searchByPlay" class="Mbutton3" value="按播放量">
				<input type="button" id="searchByAd" class="Mbutton3" value="按广告量">
				<input type="hidden" id="searchFlag" name="searchFlag" value="0"/>
			</li>
		</ul>
	</div>
	<div class="M-listRegion" style="clear:both">
	<table class="editflexigrid" style="width: 560px; border-collapse:collapse;margin-bottom: 20px">
			<tr>
				<td width="20%" align="center"></td>
				<td width="15%" align="center">土豆</td>
				<td width="15%" align="center">乐视</td>
				<td width="15%" align="center">爱奇艺</td>
				<td width="15%" align="center">优酷</td>
				<td width="20%" align="center">总量</td>
			</tr>
			<tr>
				<td width="20%" align="center">播放量</td>
				<td width="15%" align="center"><span id="tudouCount">0</span></td>
				<td width="15%" align="center"><span id="letvCount">0</span></td>
				<td width="15%" align="center"><span id="iqiyiCount">0</span></td>
				<td width="15%" align="center"><span id="youkuCount">0</span></td>
				<td width="20%" align="center"><span id="totalCount">0</span></td>
			</tr>
			<tr>
				<td width="20%" align="center">播放用户量</td>
				<td width="15%" align="center"><span id="tudouUserCount">0</span></td>
				<td width="15%" align="center"><span id="letvUserCount">0</span></td>
				<td width="15%" align="center"><span id="iqiyiUserCount">0</span></td>
				<td width="15%" align="center"><span id="youkuUserCount">0</span></td>
				<td width="20%" align="center"><span id="totalUserCount">0</span></td>
			</tr>
			<tr>
				<td width="20%" align="center">广告量</td>
				<td width="15%" align="center"><span id="tudouAdCount">0</span></td>
				<td width="15%" align="center"><span id="letvAdCount">0</span></td>
				<td width="15%" align="center"><span id="iqiyiAdCount">0</span></td>
				<td width="15%" align="center"><span id="youkuAdCount">0</span></td>
				<td width="20%" align="center"><span id="totalAdCount">0</span></td>
			</tr>
		</table>
		<span>注：概括信息只支持【资源版本】及【日期】筛选</span>
	<!--  
		<span style="marign-left:10px;">
				总播放量：<span id="totalPlayCount"></span>，乐视播放量：<span id="letvPlayCount"></span>，搜狐播放量：<span id="sohuPlayCount"></span>，爱奇艺播放量：<span id="iqiyiPlayCount"></span></br>
				总广告量：<span id="totalAdCount"></span>，乐视广告量：<span id="letvAdCount"></span>，搜狐广告量：<span id="sohuAdCount"></span>，爱奇艺广告量：<span id="iqiyiAdCount"></span>
		</span>
	-->
	</div>
	<div class="M-listRegion" style="clear:both">
		<table id="mainList" style="display:none"></table>
	</div>
	
<script type="text/javascript" src="/resources/common/js/MZPub-video.js"></script>
<script type="text/javascript" src="/resources/video/js/manage/util/VideoResources.js"></script>
<script type="text/javascript" src="/resources/video/js/manage/util/VideoUtil.js"></script>
<script type="text/javascript" src="/resources/video/js/manage/stat/play-manage.js"></script>
</body>
</html>